package com.yunqiao.service.api;

import cn.hutool.core.lang.Dict;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yunqiao.common.utils.PageUtils;
import com.yunqiao.service.api.entity.ApplyPartnerEntity;

import java.util.List;
import java.util.Map;

/**
 * 合伙人申请表
 *
 * @author Crocutax
 * @email wangxw725@163.com
 * @date 2019-03-02 15:04:03
 */
public interface ApplyPartnerService extends IService<ApplyPartnerEntity> {

    PageUtils queryPage(Map<String, Object> params);

    ApplyPartnerEntity getReason(Long userId);

    void saveApplyPartner(ApplyPartnerEntity applyPartner);

    void agree(Long id);

    void refuse(ApplyPartnerEntity applyPartnerEntity);

    List<Dict> getPosition();

	void saveAplyPartner(ApplyPartnerEntity applyPartner);
}

